package com.cfpamf.ms.insur.pay.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@ApiModel
@Table(name = "pay_bank_trx_biz_wx")
public class PayBankTrxBizWxPO extends BaseNoUserPO {

    @ApiModelProperty("")
    private String sourceSys;

    @ApiModelProperty("账单日期")
    private java.time.LocalDate billDate;

    @ApiModelProperty("交易时间.")
    private java.time.LocalDateTime tradeTime;

    @ApiModelProperty("公众账号ID.")
    private String appId;

    @ApiModelProperty("商户号.")
    private String mchId;

    @ApiModelProperty("特约商户号.")
    private String subMchId;

    @ApiModelProperty("设备号.")
    private String deviceInfo;

    @ApiModelProperty("微信订单号.")
    private String transactionId;

    @ApiModelProperty("商户订单号.")
    private String outTradeNo;

    @ApiModelProperty("用户标识.")
    private String openId;

    @ApiModelProperty("交易类型.")
    private String tradeType;

    @ApiModelProperty("交易状态.")
    private String tradeState;

    @ApiModelProperty("付款银行.")
    private String bankType;

    @ApiModelProperty("货币种类.")
    private String feeType;

    @ApiModelProperty("应结订单金额.")
    private BigDecimal totalFee;

    @ApiModelProperty("代金券金额.")
    private BigDecimal couponFee;

    @ApiModelProperty("微信退款单号.")
    private String refundId;

    @ApiModelProperty("商户退款单号.")
    private String outRefundNo;

    @ApiModelProperty("退款金额.")
    private BigDecimal settlementRefundFee;

    @ApiModelProperty("充值券退款金额.")
    private BigDecimal couponRefundFee;

    @ApiModelProperty("退款类型.")
    private String refundChannel;

    @ApiModelProperty("退款状态.")
    private String refundState;

    @ApiModelProperty("商品名称.")
    private String body;

    @ApiModelProperty("商户数据包.")
    private String attach;

    @ApiModelProperty("手续费.")
    private BigDecimal poundage;

    @ApiModelProperty("费率.")
    private String poundageRate;

    @ApiModelProperty("订单金额.")
    private java.math.BigDecimal totalAmount;

    @ApiModelProperty("申请退款金额.")
    private java.math.BigDecimal appliedRefundAmount;

    @ApiModelProperty("费率备注.")
    private String feeRemark;

//    @ApiModelProperty("退款申请时间")
//    private java.time.LocalDateTime refundTime;
//
//    @ApiModelProperty("退款成功时间")
//    private java.time.LocalDateTime refundSuccessTime;

}
